from django.db import models
import uuid

# Create your models here.
class User(models.Model):
	email = models.EmailField(primary_key=True)

	REQUIRED_FIELDS = []
	USERNAME_FIELD = 'email'
	is_anonymous = False
	is_authenticated = True

class Token(models.Model):
	email = models.EmailField(default='')
	uid = models.CharField(max_length=40, default=uuid.uuid4)